﻿/* 自定义折叠面板的样式-----主要是流程定义页面用到 */
.myCollapse {
  // 头部的样式
  .el-collapse-item__header {
    background: $theme_workflow_title_bg_color;
    height: 34px;
    line-height: 32px;
    font-size: 14px;
    padding-left: 4px;
    border-color: #d8d4d4;
    cursor: default;
    i {
      cursor: pointer;
    }
    i.iconfont {
      font-size: 20px;
      margin-left: 6px;
      font-weight: 600;
      display: none;
      &:hover {
        color: $theme_main_color;
      }
    }
  }
  .el-collapse-item__header.is-active {
    i.iconfont {
      display: inline;
    }
  }
  // 内容区域
  .el-collapse-item__content {
    padding-bottom: 6px;
    min-height: 100px;
  }
}
#item_pannel {
  .myCollapse {
    .el-collapse-item__content {
      max-height: 400px;
      overflow-y: auto;
    }
  }
}

// 下拉菜单
.tableDropdown {
  color: $theme_main_color;
  cursor: pointer;
  margin-left: 10px;
}
.tableDropdown:hover {
  color: $theme_main_hover_color;
}
.dropdownMenu {
  li {
    line-height: 40px;
    padding: 0 20px;
    font-size: 14px;
    color: $theme_font_color;
    i {
      font-size: 20px;
      margin-right: 3px;
      vertical-align: -1px;
    }
  }
  li:hover {
    color: $theme_main_color;
  }
}

// 栅格布局的样式文件
.el-row {
  .el_col_buttonGroup {
    &>div {
      float: left;
      margin-left: 10px;
    }
    &>div:first-child {
      margin-left: 0;
    }
  }
}
.widget-grid {
  .el_col_buttonGroup {
    &>div {
      float: inherit;
      margin-left: 0;
    }
    .widget-form-list {
      &>div {
        float: left;
        margin-left: 10px;
      }
      &>div:first-child {
        margin-left: 0;
      }
    }
  }
}